package com.xiaoshuidi.cloud.module.bpm.convert.swo;


import java.util.*;

import com.xiaoshuidi.cloud.framework.common.pojo.PageResult;
import com.xiaoshuidi.cloud.module.bpm.controller.admin.swo.vo.SwoTicketCreateReqVO;
import com.xiaoshuidi.cloud.module.bpm.controller.admin.swo.vo.SwoTicketExcelVO;
import com.xiaoshuidi.cloud.module.bpm.controller.admin.swo.vo.SwoTicketRespVO;
import com.xiaoshuidi.cloud.module.bpm.controller.admin.swo.vo.SwoTicketUpdateReqVO;
import com.xiaoshuidi.cloud.module.bpm.dal.dataobject.swo.SwoTicketDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * wo 服务工单申请 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface SwoTicketConvert {

    SwoTicketConvert INSTANCE = Mappers.getMapper(SwoTicketConvert.class);

    SwoTicketDO convert(SwoTicketCreateReqVO bean);

    SwoTicketDO convert(SwoTicketUpdateReqVO bean);

    SwoTicketRespVO convert(SwoTicketDO bean);

    List<SwoTicketRespVO> convertList(List<SwoTicketDO> list);

    List<SwoTicketExcelVO> convertList02(List<SwoTicketDO> list);

    List<SwoTicketRespVO> convert(List<SwoTicketDO> records);

    List<SwoTicketRespVO> convertLists(List<SwoTicketDO> list);


}

